const DictTypeApis = {
    // 获取字典数据列表
    getDictTypes: {
        method: "get",
        url: '/system/dictType'
    },
    // 获取枚举字典类型列表
    getEnumDictTypes: {
        method: "get",
        url: '/system/dictType/enums'
    },
    // 查询具体字典数据详细，jointUrl: "/"+dictId
    getDictType: {
        method: "get",
        url: '/system/dictType'
    },

    // 获取字典选择框列表
    optionSelect: {
        method: "get",
        url: '/system/dictType/optionSelect'
    },

    // 新增字典数据配置
    saveDictType: {
        method: "post",
        url: '/system/dictType'
    },

    // 修改字典数据配置
    updateDictType: {
        method: "put",
        url: '/system/dictType'
    },

    // 删除字典数据配置，jointUrl: "/"+dictId
    deleteDictType: {
        method: "delete",
        url: '/system/dictType'
    },

    // 刷新字典缓存
    refreshDictTypeCache: {
        method: "delete",
        url: '/system/dictType/refreshCache'
    }
}
export default DictTypeApis
